"use strict";
import koaRouter from "koa-router";
import User from "@/controllers/user/User";

const userRouter = new koaRouter();

const user = new User();
// 挂载创建模板的路由
userRouter
          // 查看注册详情 显示id_code列表
          .post("/regist",user.regist)
          .post("/login",user.login)
          
export default userRouter;
